11b72f44ecbbb97b3594366a03b0dc8dab6f0fa7,platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/CommitLegendPanel.java,CommitLegendPanel,update,#,43

Before Change


        appendSpace();
      }
    }
    if (deleted > 0) {
      appendText(deleted, myInfoCalculator.getIncludedDeleted(), FileStatus.DELETED, "commit.legend.deleted");
    }
  }

After Change


    myRootPanel.clear();
    appendText(myInfoCalculator.getNew(), myInfoCalculator.getIncludedNew(), FileStatus.ADDED, "commit.legend.new");
    appendText(myInfoCalculator.getModified(), myInfoCalculator.getIncludedModified(), FileStatus.MODIFIED, "commit.legend.modified");
    appendText(myInfoCalculator.getDeleted(), myInfoCalculator.getIncludedDeleted(), FileStatus.DELETED, "commit.legend.deleted");
  }

  private void appendText(int total, int included, @NotNull FileStatus fileStatus, @NotNull String labelKey) {